import HttpHandler from "@/handler/HttpHandler";

export default class Psy{
  constructor() {
    this.http=new HttpHandler();
  }
  queryListPage(data){
    const url='/tie-demo/equip/queryListPage';
    return this.http.get(url,data);
  }
  addOne(data){
    const url='/tie-demo/equip/addOne';
    return this.http.post(url,data);
  }
  detail(data){
    const url='/tie-demo/equip/detailOne';
    return this.http.get(url,data);
  }
  detailOne(data){
    const url='/tie-demo/equip/detailOneList';
    return this.http.get(url,data);
  }
  batchEdit(data){
    const url='/tie-demo/equip/batchEdit';
    return this.http.post(url,data);
  }
  delete(data){
    const url='/tie-demo/equip/deleteOne';
    return this.http.post(url,data);
  }

  batchDelete(data){
    const url='/tie-demo/equip/batchDelete';
    return this.http.post(url,data);
  }
  update(data){
    const url='/tie-demo/equip/update';
    return this.http.post(url,data);
  }
}
